package com.yc.dict.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yc.base.BaseService;
import com.yc.dict.entity.Dict;

import java.util.List;
/**
 * <p>
 * 后台字典表 服务类
 * </p>
 *
 * @author bao
 * @since 2021-12-10
 */
public interface IDictService extends BaseService<Dict> {

    boolean create(Dict dict);

    boolean delete(List<Long> ids);

    boolean update(Dict dict);

    Dict queryById(Long id);

    Dict queryByName(String name);

    List<Dict> selectList();

    IPage<Dict> selectPage(IPage<Dict> page);

}
